package demo1;

public abstract class Animal {
    String name;
    int age;
    public abstract void eat();


    public Animal( String name,int age) {
        this.name = name;
        this.age = age;
    }
}
